"use client"
import { useState } from "react";

export default function Dashboard() {
    console.log("Dashboard component");
    const [name, setName] = useState("");
    return (
        <div>
            <h1>Dashboard</h1>
            <div className="flex flex-col">
                <input className="w-20" type="text" onChange={(e) => setName(e.target.value)} />
                <span>Hello, {name}</span>
            </div>
        </div>
    )
}
